Termination Proof Script

Consider the TRS R consisting of the rewrite rules
1:    f(0)  → true
2:    f(1)  → false
3:    f(s(x))  → f(x)
4:    if(true,s(x),s(y))  → s(x)
5:    if(false,s(x),s(y))  → s(y)
6:    g(x,c(y))  → c(g(x,y))
7:    g(x,c(y))  → g(x,if(f(x),c(g(s(x),y)),c(y)))
There are 6 dependency pairs:
8:    F(s(x))  → F(x)
9:    G(x,c(y))  → G(x,y)
10:    G(x,c(y))  → G(x,if(f(x),c(g(s(x),y)),c(y)))
11:    G(x,c(y))  → IF(f(x),c(g(s(x),y)),c(y))
12:    G(x,c(y))  → F(x)
13:    G(x,c(y))  → G(s(x),y)
The approximated dependency graph contains 2 SCCs: {8} and {9,10,13}. Hence the TRS is terminating.
Tyrolean Termination Tool  (0.20 seconds)   ---  May 3, 2006